﻿using Furion.DependencyInjection;
using System.Threading.Tasks;

namespace Hu.Smart.Core.Messages
{
    public interface IMessageManager :ITransient
    {
        Task CreateMqMessageAsync(string from, string to, string content, MqMessageParameter parameters, MessageDirection direction);

        Task SendEmailAsync(string title, string content, string to, string from = null, string cc = null, string bcc = null);
    }
}